/*
 * @Author: DUST
 * @Date: 2023-06-27 15:08:22
 * @LastEditors: DUST
 * @LastEditTime: 2023-06-27 15:22:06
 * @FilePath: \koa-node-ts\app\router\navigate.ts
 * @Description: 
 * undefined
 */
import koaRouter from "koa-router";
import NavigateController from "../controller/NavigateController";

const navigateRouter = new koaRouter();

navigateRouter.prefix("/navigate");

// 获取导航类型列表
navigateRouter.get("/list", NavigateController.getPage);
// 新增导航列表
navigateRouter.post("/add", NavigateController.addType);

export default navigateRouter;